package com.linewell.pojo;

import java.util.List;

/**
 * @Title: ssm2
 * @description:
 * @author: hyuhuang@linewell.com
 * @since:2018/1/17 13:36
 */
public class Article {

    /**
     *  文章id
     */
    public Long articleId;
    /**
     * 文章的标题
     */
    public String title;
    /**
     *  文章作者Id
     */
    public Long userId;
    /**
     * 文章赞的数量
     */
    public Integer zanNum;
    /**
     * 文章踩的数量
     */
    public Integer caiNum;
   /* public Integer hot;*/
    /**
     * 文章审核是否通过。
     */
    public Integer acheck;
    /**
     * 文章具体内容
     */
    public String content;
    /**
     * 文章发表日期
     */
    public String  articleDate;
    /**
     * 文章附带的图片
     */
    public String articlePicture;
    /**
     * 文章的简介内容
     */
    public String simContent;
    /**
     * 收藏数目
     */
    public int collectedNum;
    /**
     * 作者的信息
     */
    public UserInfo userInfo;
    /**
     * 文章的标签
     */
    private List<Tag> tags;

    public List<Tag> getTags() {
        return tags;
    }

    public void setTags(List<Tag> tags) {
        this.tags = tags;
    }

    public int getCollectedNum() {
        return collectedNum;
    }

    public void setCollectedNum(int collectedNum) {
        this.collectedNum = collectedNum;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getZanNum() {
        return zanNum;
    }

    public void setZanNum(Integer zanNum) {
        this.zanNum = zanNum;
    }

    public Integer getCaiNum() {
        return caiNum;
    }

    public void setCaiNum(Integer caiNum) {
        this.caiNum = caiNum;
    }

    public Integer getAcheck() {
        return acheck;
    }

    public void setAcheck(Integer acheck) {
        this.acheck = acheck;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getArticleDate() {
        return articleDate;
    }

    public void setArticleDate(String articleDate) {
        this.articleDate = articleDate;
    }

    public String getArticlePicture() {
        return articlePicture;
    }

    public void setArticlePicture(String articlePicture) {
        this.articlePicture = articlePicture;
    }

    public String getSimContent() {
        return simContent;
    }

    public void setSimContent(String simContent) {
        this.simContent = simContent;
    }
}
